package com.yuncheng.oaApi.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.vo.CurrentUserVo;
import com.yuncheng.oaApi.vo.NkRsCcSpVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface NkRsCcSpFlowMapper {
    Page<NkRsCcSpVo> flowJobPage(Page<NkRsCcSpVo> page,
                                 @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                 @Param("user") CurrentUserVo user,
                                 @Param("spcyFlowVo") NkRsCcSpVo nkRsCcSpVo);

    Page<NkRsCcSpVo> flowJkPage(Page<NkRsCcSpVo> page,
                                @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                @Param("user") CurrentUserVo user,
                                @Param("spcyFlowVo") NkRsCcSpVo nkRsCcSpVo);

    List<NkRsCcSpVo> flowJkList(
            @Param("onlyCurrentUser") boolean onlyCurrentUser,
            @Param("user") CurrentUserVo user,
            @Param("spcyFlowVo") NkRsCcSpVo nkRsCcSpVo);


    Page<NkRsCcSpVo> selectmyyb(Page<NkRsCcSpVo> page, @Param("spcyFlowVo") NkRsCcSpVo nkRsCcSpVo);

    Page<NkRsCcSpVo> myYbFlowPage(Page<NkRsCcSpVo> page,
                                  @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                  @Param("user") CurrentUserVo user,
                                  @Param("spcyFlowVo") NkRsCcSpVo nkRsCcSpVo);
}
